package com.platform.service.impl;

import com.platform.dao.RemitDao;
import com.platform.entity.RemitEntity;
import com.platform.service.RemitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/**
 * Service实现类
 *
 * @author zzh
 * @email 862583291@qq.com
 * @date 2018-11-13 15:02:28
 */
@Service("remitService")
public class RemitServiceImpl  implements RemitService {
    @Autowired
    private RemitDao remitDao;

    @Override
    public RemitEntity queryObject(Integer id) {
        return remitDao.queryObject(id);
    }

    @Override
    public List<RemitEntity> queryList(Map<String, Object> map) {
        return remitDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return remitDao.queryTotal(map);
    }
    @Override
    public int queryTotal2(Map<String, Object> map) {
        return remitDao.queryTotal2(map);
    }
    @Override
    public int save(RemitEntity remit) {
        return remitDao.save(remit);
    }

    @Override
    public int update(RemitEntity remit) {
        return remitDao.update(remit);
    }

    @Override
    public int delete(Integer id) {
        return remitDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return remitDao.deleteBatch(ids);
    }
}
